
$(function(){
	show_detail.run();

});

var show_detail = {	
		run: function(){
			this.__init__();
			this._start_();
			this._bind_events();

		},
		
		__init__: function(){
			this.showId = "show";

		},
		_start_: function(){
			/*
			var type ="YouTube";
			var title ="qaqw";	
			var videoId="yt_KDkmsxlGD8"
			var url = "http://10.10.34.35:8080/web/view/history/update";
			var data = "type=" + type + "&title=" + encodeURIComponent(title);
			if(videoId){
				data += "&videoId=" + videoId;
			}
			$.post(url, data, function(result){});
			*/

		},

		_bind_events: function(){

			$("#destroyIframe").bind('click',function(){
			$($(window).eq(0)[0].parent.document).find('body').remove(); 
	
            
			});
		
		}		
};
